//
//  rightExportDataView.m
//  dataGathering
//
//  Created by apple on 14-11-6.
//  Copyright (c) 2014年 shuili. All rights reserved.
//

#import "rightExportDataView.h"
#import "rightSubTitleVC.h"

@interface rightExportDataView ()

@end

@implementation rightExportDataView

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
    [_backButton setImage:[UIImage imageNamed:@"u163_mouseOver.png"] forState:UIControlStateHighlighted];
    
    [_backButton addTarget:self action:@selector(backButtonClicked) forControlEvents:UIControlEventTouchUpInside];
}

- (IBAction)cancelButtonClicked:(id)sender {
    [self backButtonClicked];
}

- (void)backButtonClicked
{
    [((rightSubTitleVC*)(self.parentViewController.parentViewController)) removeExportDataView];
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender
{
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
